package com.ftg.learn.entity;

import java.time.LocalDate;

public record Teacher(Integer id, String teaName, String teaSex,
                      LocalDate gmtCreate, LocalDate gmtUpdate) {

    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", teaName='" + teaName + '\'' +
                ", teaSex='" + teaSex + '\'' +
                ", gmtCreate=" + gmtCreate +
                ", gmtUpdate=" + gmtUpdate +
                '}';
    }
}
